package com.bigShen.pattern.decorator.login.wrapper;

import com.bigShen.pattern.decorator.login.ResultMsg;
import com.bigShen.pattern.decorator.login.old.ILoginService;

/**
 * @author : lei.shen
 * @date : 2018/10/7
 */
public interface ILoginForThirdService extends ILoginService {

    /**
     *
     * @param openId qq openId
     * @return ResultMsg
     */
    ResultMsg loginForQQ(String openId);

    /**
     *
     * @param openId WeChat's openId
     * @returnResultMsg
     */
    ResultMsg loginForWeChat(String openId);

    /**
     *
     * @param token token
     * @return ResultMsg
     */
    ResultMsg loginForToken(String token);

    /**
     *
     * @param openId sina's openId
     * @return ResultMsg
     */
    ResultMsg loginForSina(String openId);

}
